NDepend.API Documentation
ToMinutes(Nullable<Double>) Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class > ToMinutes Method : ToMinutes(Nullable<Double>) Method
The number of minutes.
Gets a System.TimeSpan value, with total floating number of minutes equals to floating value nullableNbMinutesDouble.
Syntax

Parameters

nullableNbMinutesDouble
The number of minutes.
Exceptions
ExceptionDescription
This exception is thrown if the expected time span is greater than System.TimeSpan.System.TimeSpan.MaxValue or lower than System.TimeSpan.System.TimeSpan.MinValue.
Remarks
if nullableNbMinutesDouble is null, System.TimeSpan.System.TimeSpan.Zero is returned.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsTimeSpan Class
ExtensionMethodsTimeSpan Members
Overload List